home *** CD-ROM | disk | FTP | other *** search
/ Apple Reference & Presen…tion Library 4 (Reseller) / Apple Ref. & Pres. Lib.v4.0.iso / 4-Demos / Apple Demos / Tutorials / Display Card 4•8⁄8•24 Training / Display Card 4•8_8•24 Training / background_95066.txt < prev    next >
Text File  |  1990-03-19  |  8KB  |  427 lines

  1. -- background: 95066 from stack: in
  2. -- bmap block id: 95406
  3. -- flags: 0000
  4. -- background id: 0
  5. -- name: 
  6.  
  7.  
  8. -- part 1 (field)
  9. -- low flags: 00
  10. -- high flags: 0000
  11. -- rect: left=128 top=0 right=25 bottom=512
  12. -- title width / last selected line: 0
  13. -- icon id / first selected line: 0 / 0
  14. -- text alignment: 0
  15. -- font id: 21
  16. -- text size: 18
  17. -- style flags: 10240
  18. -- line height: 20
  19. -- part name: Title
  20.  
  21.  
  22. -- part 2 (field)
  23. -- low flags: 01
  24. -- high flags: 0000
  25. -- rect: left=128 top=24 right=62 bottom=508
  26. -- title width / last selected line: 0
  27. -- icon id / first selected line: 0 / 0
  28. -- text alignment: 0
  29. -- font id: 21
  30. -- text size: 18
  31. -- style flags: 0
  32. -- line height: 20
  33. -- part name: cardTitle
  34.  
  35.  
  36. -- part 5 (button)
  37. -- low flags: 00
  38. -- high flags: 2000
  39. -- rect: left=428 top=317 right=342 bottom=456
  40. -- title width / last selected line: 0
  41. -- icon id / first selected line: 18611 / 18611
  42. -- text alignment: 1
  43. -- font id: 0
  44. -- text size: 12
  45. -- style flags: 0
  46. -- line height: 16
  47. -- part name: prev
  48. ----- HyperTalk script -----
  49. on mouseUp
  50.   visual scroll right
  51.   go prev
  52. end mouseUp
  53.  
  54.  
  55.  
  56. -- part 6 (button)
  57. -- low flags: 00
  58. -- high flags: 2000
  59. -- rect: left=456 top=317 right=342 bottom=484
  60. -- title width / last selected line: 0
  61. -- icon id / first selected line: 18612 / 18612
  62. -- text alignment: 1
  63. -- font id: 0
  64. -- text size: 12
  65. -- style flags: 0
  66. -- line height: 16
  67. -- part name: next
  68. ----- HyperTalk script -----
  69. on mouseUp
  70.   if word 2 of the short name of this card = "0" then
  71.     visual dissolve
  72.     go next
  73.   else
  74.     visual scroll left
  75.     go next
  76.   end if
  77. end mouseUp
  78.  
  79.  
  80.  
  81. -- part 8 (field)
  82. -- low flags: 81
  83. -- high flags: 0000
  84. -- rect: left=0 top=330 right=342 bottom=70
  85. -- title width / last selected line: 0
  86. -- icon id / first selected line: 0 / 0
  87. -- text alignment: 0
  88. -- font id: 3
  89. -- text size: 9
  90. -- style flags: 0
  91. -- line height: 9
  92. -- part name: cardName
  93.  
  94.  
  95. -- part 11 (field)
  96. -- low flags: 01
  97. -- high flags: 0000
  98. -- rect: left=127 top=82 right=118 bottom=507
  99. -- title width / last selected line: 0
  100. -- icon id / first selected line: 0 / 0
  101. -- text alignment: 0
  102. -- font id: 157
  103. -- text size: 14
  104. -- style flags: 0
  105. -- line height: 16
  106. -- part name: 
  107.  
  108.  
  109. -- part 12 (field)
  110. -- low flags: 01
  111. -- high flags: 0000
  112. -- rect: left=128 top=55 right=89 bottom=509
  113. -- title width / last selected line: 0
  114. -- icon id / first selected line: 0 / 0
  115. -- text alignment: 0
  116. -- font id: 158
  117. -- text size: 14
  118. -- style flags: 0
  119. -- line height: 16
  120. -- part name: subHeader
  121.  
  122.  
  123. -- part 16 (button)
  124. -- low flags: 00
  125. -- high flags: A000
  126. -- rect: left=449 top=3 right=18 bottom=510
  127. -- title width / last selected line: 0
  128. -- icon id / first selected line: 0 / 0
  129. -- text alignment: 0
  130. -- font id: 3
  131. -- text size: 10
  132. -- style flags: 2048
  133. -- line height: 13
  134. -- part name: Contents
  135. ----- HyperTalk script -----
  136. on mouseUp
  137.   visual effect dissolve
  138.   go card "content 0"
  139. end mouseUp
  140.  
  141.  
  142.  
  143. -- part 17 (button)
  144. -- low flags: 00
  145. -- high flags: 2002
  146. -- rect: left=6 top=273 right=285 bottom=18
  147. -- title width / last selected line: 0
  148. -- icon id / first selected line: 0 / 0
  149. -- text alignment: 1
  150. -- font id: 0
  151. -- text size: 12
  152. -- style flags: 0
  153. -- line height: 16
  154. -- part name: open 0
  155. ----- HyperTalk script -----
  156. on mouseUp
  157.   push card
  158.   visual dissolve
  159.   go card "open 0"
  160. end mouseUp
  161.  
  162.  
  163.  
  164. -- part 18 (button)
  165. -- low flags: 00
  166. -- high flags: 2002
  167. -- rect: left=6 top=290 right=302 bottom=18
  168. -- title width / last selected line: 0
  169. -- icon id / first selected line: 0 / 0
  170. -- text alignment: 1
  171. -- font id: 0
  172. -- text size: 12
  173. -- style flags: 0
  174. -- line height: 16
  175. -- part name: help
  176. ----- HyperTalk script -----
  177. on mouseUp
  178.   push card
  179.   visual dissolve
  180.   go card "howtouse"
  181. end mouseUp
  182.  
  183.  
  184.  
  185. -- part 20 (button)
  186. -- low flags: 00
  187. -- high flags: 2002
  188. -- rect: left=24 top=273 right=285 bottom=36
  189. -- title width / last selected line: 0
  190. -- icon id / first selected line: 0 / 0
  191. -- text alignment: 1
  192. -- font id: 0
  193. -- text size: 12
  194. -- style flags: 0
  195. -- line height: 16
  196. -- part name: map
  197. ----- HyperTalk script -----
  198. on mouseUp
  199.   push card
  200.   visual effect dissolve
  201.   go card "map"
  202. end mouseUp
  203.  
  204.  
  205.  
  206. -- part 21 (button)
  207. -- low flags: 00
  208. -- high flags: 2002
  209. -- rect: left=42 top=273 right=285 bottom=54
  210. -- title width / last selected line: 0
  211. -- icon id / first selected line: 0 / 0
  212. -- text alignment: 1
  213. -- font id: 0
  214. -- text size: 12
  215. -- style flags: 0
  216. -- line height: 16
  217. -- part name: content 1
  218. ----- HyperTalk script -----
  219. on mouseUp
  220.   push card
  221.   visual effect dissolve
  222.   go card "content 1"
  223.  
  224. end mouseUp
  225.  
  226.  
  227.  
  228. -- part 22 (button)
  229. -- low flags: 00
  230. -- high flags: 2002
  231. -- rect: left=60 top=273 right=285 bottom=72
  232. -- title width / last selected line: 0
  233. -- icon id / first selected line: 0 / 0
  234. -- text alignment: 1
  235. -- font id: 0
  236. -- text size: 12
  237. -- style flags: 0
  238. -- line height: 16
  239. -- part name: content 2
  240. ----- HyperTalk script -----
  241. on mouseUp
  242.   push card
  243.   visual effect dissolve
  244.   go card "content 2"
  245.  
  246. end mouseUp
  247.  
  248.  
  249.  
  250. -- part 23 (button)
  251. -- low flags: 00
  252. -- high flags: 2002
  253. -- rect: left=78 top=273 right=285 bottom=90
  254. -- title width / last selected line: 0
  255. -- icon id / first selected line: 0 / 0
  256. -- text alignment: 1
  257. -- font id: 0
  258. -- text size: 12
  259. -- style flags: 0
  260. -- line height: 16
  261. -- part name: content 3
  262. ----- HyperTalk script -----
  263. on mouseUp
  264.   push card
  265.   visual effect dissolve
  266.   go card "content 3"
  267.  
  268. end mouseUp
  269.  
  270.  
  271.  
  272. -- part 24 (button)
  273. -- low flags: 00
  274. -- high flags: 2002
  275. -- rect: left=42 top=290 right=302 bottom=54
  276. -- title width / last selected line: 0
  277. -- icon id / first selected line: 0 / 0
  278. -- text alignment: 1
  279. -- font id: 0
  280. -- text size: 12
  281. -- style flags: 0
  282. -- line height: 16
  283. -- part name: content 4
  284. ----- HyperTalk script -----
  285. on mouseUp
  286.   push card
  287.   visual effect dissolve
  288.   go card "content 4a"
  289.  
  290. end mouseUp
  291.  
  292.  
  293.  
  294. -- part 25 (button)
  295. -- low flags: 00
  296. -- high flags: 2002
  297. -- rect: left=60 top=290 right=302 bottom=72
  298. -- title width / last selected line: 0
  299. -- icon id / first selected line: 0 / 0
  300. -- text alignment: 1
  301. -- font id: 0
  302. -- text size: 12
  303. -- style flags: 0
  304. -- line height: 16
  305. -- part name: content 5
  306. ----- HyperTalk script -----
  307. on mouseUp
  308.   push card
  309.   visual effect dissolve
  310.   go card "content 5"
  311.  
  312. end mouseUp
  313.  
  314.  
  315.  
  316. -- part 26 (button)
  317. -- low flags: 00
  318. -- high flags: 2002
  319. -- rect: left=78 top=290 right=302 bottom=90
  320. -- title width / last selected line: 0
  321. -- icon id / first selected line: 0 / 0
  322. -- text alignment: 1
  323. -- font id: 0
  324. -- text size: 12
  325. -- style flags: 0
  326. -- line height: 16
  327. -- part name: content 6
  328. ----- HyperTalk script -----
  329. on mouseUp
  330.   push card
  331.   visual effect dissolve
  332.   go card "content 6"
  333.  
  334. end mouseUp
  335.  
  336.  
  337.  
  338. -- part 28 (button)
  339. -- low flags: 00
  340. -- high flags: 2002
  341. -- rect: left=60 top=307 right=319 bottom=72
  342. -- title width / last selected line: 0
  343. -- icon id / first selected line: 0 / 0
  344. -- text alignment: 1
  345. -- font id: 0
  346. -- text size: 12
  347. -- style flags: 0
  348. -- line height: 16
  349. -- part name: content 7
  350. ----- HyperTalk script -----
  351. on mouseUp
  352.   push card
  353.   visual effect dissolve
  354.   go card "content 7"
  355.  
  356. end mouseUp
  357.  
  358.  
  359.  
  360. -- part 29 (button)
  361. -- low flags: 00
  362. -- high flags: 0002
  363. -- rect: left=42 top=323 right=335 bottom=54
  364. -- title width / last selected line: 0
  365. -- icon id / first selected line: 0 / 0
  366. -- text alignment: 1
  367. -- font id: 0
  368. -- text size: 12
  369. -- style flags: 0
  370. -- line height: 16
  371. -- part name: 
  372. ----- HyperTalk script -----
  373. on mouseUp
  374.   push card
  375.   visual dissolve
  376.   go card "index 1"
  377. end mouseUp
  378.  
  379.  
  380.  
  381. -- part 30 (button)
  382. -- low flags: 00
  383. -- high flags: 2002
  384. -- rect: left=60 top=323 right=335 bottom=72
  385. -- title width / last selected line: 0
  386. -- icon id / first selected line: 0 / 0
  387. -- text alignment: 1
  388. -- font id: 0
  389. -- text size: 12
  390. -- style flags: 0
  391. -- line height: 16
  392. -- part name: content 0
  393. ----- HyperTalk script -----
  394. on mouseUp
  395.   push card
  396.   visual dissolve
  397.   go card "content 0"
  398. end mouseUp
  399.  
  400.  
  401.  
  402. -- part 31 (button)
  403. -- low flags: 00
  404. -- high flags: 2000
  405. -- rect: left=484 top=317 right=342 bottom=512
  406. -- title width / last selected line: 0
  407. -- icon id / first selected line: 18613 / 18613
  408. -- text alignment: 1
  409. -- font id: 0
  410. -- text size: 12
  411. -- style flags: 0
  412. -- line height: 16
  413. -- part name: return
  414. ----- HyperTalk script -----
  415. on mouseUp
  416.   global lastPush
  417.   pop card into lastPush
  418.   if the short name of this stack is not in lastPush then
  419.     visual dissolve
  420.     go card "Map"
  421.   else
  422.     visual dissolve
  423.     go lastPush
  424.   end if
  425. end mouseUp
  426.  
  427.